package com.yangtzeu.jwc.utils;

import java.util.LinkedHashMap;
import java.util.Map;

public class HttpHeader {

    public static Map<String, String> getBasicHeader() {
        Map<String, String> header = new LinkedHashMap<String, String>();
        packageHeader(header);
        return header;
    }

    private static void packageHeader(Map<String, String> header) {
        header = new LinkedHashMap<String, String>();
        header.put("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8");
        header.put("Accept-Charset", "GBK,utf-8;q=0.7,*;q=0.3");
        header.put("Accept-Encoding", "gzip,deflate,sdch");
        header.put("Accept-Language", "zh-CN,zh;q=0.8");
        header.put("Connection", "keep-alive");
        header.put("Host", "jwc.yangtzeu.edu.cn:8080");
        header.put("User-Agent", "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/535.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/535.36");
    }
}
